package com.huiminpay.merchant.convert;

import com.huiminpay.merchant.entity.Merchant;
import com.yh.huiminpay.merchant.dto.MerchantDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface MerchantConvent {
    MerchantConvent INSTANCE= Mappers.getMapper(MerchantConvent.class);
    //用户注册对象转换
    //用户资质认证对象转换

    Merchant dto2entity(MerchantDTO merchantDTO);

    MerchantDTO entity2dto(Merchant merchant);
}
